libghc-classy-prelude-dev software package provides typeclass-based prelude, you can install in your Ubuntu 16.10 (Yakkety Yak) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install libghc-classy-prelude-dev
libghc-classy-prelude-dev is installed in your system.
Make ensure the libghc-classy-prelude-dev package were installed using the commands given below,
$ sudo dpkg-query -l | grep libghc-classy-prelude-dev *
You will get with libghc-classy-prelude-dev package name, version, architecture and description in a table
| Distro | Ubuntu 16 10 yakkety yak |
| Section | Haskell |
| Package | libghc-classy-prelude-dev |
| Version | 0.12.8-1build3 |
| Description | typeclass-based prelude |
| Sub Section | Haskell |